3.8.11 \(\int \frac {x}{2 a+2 b+x^4} \, dx\) [711]

Optimal. Leaf size=33 \[ \frac {\tan ^{-1}\left (\frac {x^2}{\sqrt {2} \sqrt {a+b}}\right )}{2 \sqrt {2} \sqrt {a+b}} \]

[Out]

1/4*arctan(1/2*x^2*2^(1/2)/(a+b)^(1/2))*2^(1/2)/(a+b)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {281, 209} \begin {gather*} \frac {\text {ArcTan}\left (\frac {x^2}{\sqrt {2} \sqrt {a+b}}\right )}{2 \sqrt {2} \sqrt {a+b}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x/(2*a + 2*b + x^4),x]

[Out]

ArcTan[x^2/(Sqrt[2]*Sqrt[a + b])]/(2*Sqrt[2]*Sqrt[a + b])

Rule 209

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*ArcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 281

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = GCD[m + 1, n]}, Dist[1/k, Subst[Int[x^((m
 + 1)/k - 1)*(a + b*x^(n/k))^p, x], x, x^k], x] /; k != 1] /; FreeQ[{a, b, p}, x] && IGtQ[n, 0] && IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {x}{2 a+2 b+x^4} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{2 a+2 b+x^2} \, dx,x,x^2\right )\\ &=\frac {\tan ^{-1}\left (\frac {x^2}{\sqrt {2} \sqrt {a+b}}\right )}{2 \sqrt {2} \sqrt {a+b}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 33, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}\left (\frac {x^2}{\sqrt {2} \sqrt {a+b}}\right )}{2 \sqrt {2} \sqrt {a+b}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x/(2*a + 2*b + x^4),x]

[Out]

ArcTan[x^2/(Sqrt[2]*Sqrt[a + b])]/(2*Sqrt[2]*Sqrt[a + b])

________________________________________________________________________________________

Maple [A]
time = 0.15, size = 26, normalized size = 0.79

method result size
default \(\frac {\arctan \left (\frac {x^{2}}{\sqrt {2 a +2 b}}\right )}{2 \sqrt {2 a +2 b}}\) \(26\)
risch \(-\frac {\ln \left (x^{2} \sqrt {-2 a -2 b}-2 a -2 b \right )}{4 \sqrt {-2 a -2 b}}+\frac {\ln \left (x^{2} \sqrt {-2 a -2 b}+2 a +2 b \right )}{4 \sqrt {-2 a -2 b}}\) \(66\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(x^4+2*a+2*b),x,method=_RETURNVERBOSE)

[Out]

1/2/(2*a+2*b)^(1/2)*arctan(x^2/(2*a+2*b)^(1/2))

________________________________________________________________________________________

Maxima [A]
time = 0.50, size = 25, normalized size = 0.76 \begin {gather*} \frac {\arctan \left (\frac {x^{2}}{\sqrt {2 \, a + 2 \, b}}\right )}{2 \, \sqrt {2 \, a + 2 \, b}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(x^4+2*a+2*b),x, algorithm="maxima")

[Out]

1/2*arctan(x^2/sqrt(2*a + 2*b))/sqrt(2*a + 2*b)

________________________________________________________________________________________

Fricas [A]
time = 0.37, size = 91, normalized size = 2.76 \begin {gather*} \left [-\frac {\sqrt {-2 \, a - 2 \, b} \log \left (\frac {x^{4} - 2 \, \sqrt {-2 \, a - 2 \, b} x^{2} - 2 \, a - 2 \, b}{x^{4} + 2 \, a + 2 \, b}\right )}{8 \, {\left (a + b\right )}}, \frac {\sqrt {2 \, a + 2 \, b} \arctan \left (\frac {\sqrt {2 \, a + 2 \, b} x^{2}}{2 \, {\left (a + b\right )}}\right )}{4 \, {\left (a + b\right )}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(x^4+2*a+2*b),x, algorithm="fricas")

[Out]

[-1/8*sqrt(-2*a - 2*b)*log((x^4 - 2*sqrt(-2*a - 2*b)*x^2 - 2*a - 2*b)/(x^4 + 2*a + 2*b))/(a + b), 1/4*sqrt(2*a
 + 2*b)*arctan(1/2*sqrt(2*a + 2*b)*x^2/(a + b))/(a + b)]

________________________________________________________________________________________

Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 110 vs. \(2 (31) = 62\).
time = 0.11, size = 110, normalized size = 3.33 \begin {gather*} - \frac {\sqrt {2} \sqrt {- \frac {1}{a + b}} \log {\left (- \sqrt {2} a \sqrt {- \frac {1}{a + b}} - \sqrt {2} b \sqrt {- \frac {1}{a + b}} + x^{2} \right )}}{8} + \frac {\sqrt {2} \sqrt {- \frac {1}{a + b}} \log {\left (\sqrt {2} a \sqrt {- \frac {1}{a + b}} + \sqrt {2} b \sqrt {- \frac {1}{a + b}} + x^{2} \right )}}{8} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(x**4+2*a+2*b),x)

[Out]

-sqrt(2)*sqrt(-1/(a + b))*log(-sqrt(2)*a*sqrt(-1/(a + b)) - sqrt(2)*b*sqrt(-1/(a + b)) + x**2)/8 + sqrt(2)*sqr
t(-1/(a + b))*log(sqrt(2)*a*sqrt(-1/(a + b)) + sqrt(2)*b*sqrt(-1/(a + b)) + x**2)/8

________________________________________________________________________________________

Giac [A]
time = 0.51, size = 24, normalized size = 0.73 \begin {gather*} \frac {\sqrt {2} \arctan \left (\frac {\sqrt {2} x^{2}}{2 \, \sqrt {a + b}}\right )}{4 \, \sqrt {a + b}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(x^4+2*a+2*b),x, algorithm="giac")

[Out]

1/4*sqrt(2)*arctan(1/2*sqrt(2)*x^2/sqrt(a + b))/sqrt(a + b)

________________________________________________________________________________________

Mupad [B]
time = 1.04, size = 32, normalized size = 0.97 \begin {gather*} \frac {\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,x^2\,\sqrt {a+b}}{2\,a+2\,b}\right )}{4\,\sqrt {a+b}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(2*a + 2*b + x^4),x)

[Out]

(2^(1/2)*atan((2^(1/2)*x^2*(a + b)^(1/2))/(2*a + 2*b)))/(4*(a + b)^(1/2))

________________________________________________________________________________________